#ifndef QS_FLASH_H_
#define QS_FLASH_H_

typedef struct {
    uint8_t work_mode;
    uint8_t auto_mode;
    uint8_t fan_level;
    uint8_t heat_level;
    uint16_t timer;
    uint8_t mem_heat_level;
    uint8_t mem_fan_level;
    uint8_t uid[4];
}qs_mem_data_t;

qs_mem_data_t* qs_flash_mac_read(void);
void qs_flash_mac_write(qs_mem_data_t* mac);
void APP_FlashVerify(void);
void qs_flash_UID_erase(void);
#endif